home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / Installer / DeveloperInterfaces / CIncludes / RuleFunctionHeader.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-25  |  699 b   |  34 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        RuleFunctionHeader.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Kevin Aitken
  7.  
  8.     Copyright:    © 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>     9/15/93    KBA        Added constants for return values.
  13.          <1>     8/10/93    KBA        first checked in
  14.  
  15. */
  16.  
  17. #ifndef __RuleFunctionHeader__
  18. #define __RuleFunctionHeader__
  19.  
  20. #define kTRUERuleFunctionResult        1
  21. #define kFALSERuleFunctionResult    0
  22.  
  23. typedef struct {
  24.     ProcPtr                fCallBackProcPtr;
  25.     short                fTargetVRefNum;
  26.     long                fTargetFolderDirID;
  27.     short                fSystemVRefNum;
  28.     long                fSystemBlessedDirID;
  29.     long                fRefCon;
  30. }RuleFunctionPBRec, *RuleFunctionPBPtr;
  31.  
  32. long    RuleFunction( RuleFunctionPBPtr );
  33.  
  34. #endif